﻿using Company.IBLL;
using Company.IDAL;
using Company.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.BLL
{
    public partial class T_DictionaryServer : BaseService<T_Dictionary>, IT_DictionaryServer
    {
        private IT_DictionaryDal LocationDal = DALContainer.Container.Resolve<IT_DictionaryDal>();

        public List<T_Dictionary> GetDictionary(string type)
        {
            var data = LocationDal.GetDictionary(type);
            return data;
        }
        public override void SetDal()
        {
            Dal = LocationDal;
        }
    }
}
